package com.frame.demo.injector.component;

import com.frame.demo.ui.activity.LoginActivity;
import com.frame.demo.injector.ActivityScope;
import com.frame.demo.injector.moudle.ActivityModule;
import com.frame.demo.injector.moudle.ApiModule;

import dagger.Component;

/**
 * Activity注入器
 *
 * @author liuxia
 * @version 1.0
 * @date 2015/12/23
 */
@ActivityScope
@Component(
        modules = {ActivityModule.class, ApiModule.class}, dependencies = {ApplicationComponent.class})
public interface ActivityComponent {
    void inject(LoginActivity pActivity);
}
